# -*- coding: utf-8 -*-
try:
    num1 = int(input('请输入一个整数'))
    num2 = int(input("请输入另一个整数"))
    result = num1/num2
    print('结果',result)
    #else

except ZeroDivisionError:
    print("除数不能为0")
except ValueError:
    print("不能将字符串转为整数")
except BaseException:
    print("未知异常")